package strings;

import java.util.regex.*;

import static net.mindview.util.Print.*;

public class Finding {
    public static void main(String[] args) {
        Matcher m = Pattern.compile("\\w+").matcher("Eventing is full of the linet's wings");
        while (m.find())
            printnb(m.group() + " ");
        print();
        int i=0;
        while(m.find(i)){
            printnb(m.group()+" ");
            i++;
        }
    }
}
